home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17846 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: und.ac.za!newsadmin
  2. From: throshni@compnt.cs.unp.ac.za (throshni)
  3. Newsgroups: comp.lang.c++
  4. Subject: How to compile & link a program that uses a DLL
  5. Date: 17 Apr 1996 17:49:28 GMT
  6. Organization: Computer Science UNP
  7. Message-ID: <4l3av8$2ol@Raven.und.ac.za>
  8. NNTP-Posting-Host: mmedia.cs.unp.ac.za
  9. Mime-Version: 1.0
  10. Content-Type: Text/Plain; charset=ISO-8859-1
  11. X-Newsreader: WinVN 0.99.5
  12.  
  13. Hi,
  14.   
  15. This is my first attempt at writing a DLL and its not going to well. 
  16.  
  17. Please can u help me - i am desperate!
  18.  
  19. I have created a .DLL, in BC4.5  I am using OWL.  It compiles fine.  
  20. Then i wrote a little program to test the .DLL .  I followed the example 
  21. in the \examples\owl\owlapi\dllhello.  
  22.  
  23. The test program that i wrote compiles fine but every time i try to run 
  24. it, nothing happens & the program terminates.  I then tried to run the 
  25. example  BC45\examples\owl\owlapi\dllhello, but the same thing happened. 
  26.  The program just terminates without doing anything.
  27.  
  28. How do u run a program that has a .DLL linked to it?
  29.  
  30. Please email responses to throshni@compnt.cs.unp.ac.za
  31.  
  32. Thanxs,
  33. Throshni
  34.  
  35.